import initBusFrame from "./bus-frame";
import { comonHandlers } from "./handlers";

window.onload = () => {
  initBusFrame(PUBLIC_URL + "options.html", (iframe) => {
    return {
      ...comonHandlers,
      setHeight(height: number) {
        iframe.style.height = height + "px";
      },
    };
  });
};
